package com.liner.string;

import java.util.Scanner;

/**
 * 将当前字符串中的英文部分给转换为全大写/小写
 */
public class ToUpperCaseDemo {
    public static void main(String[] args) {
        String name = "Bob";

        System.out.println(name.toLowerCase());
        System.out.println(name.toUpperCase());
        System.out.println(name);
        Scanner scanner = new Scanner(System.in);
        String userName = scanner.next();
        if (name.equalsIgnoreCase(userName)) {

        }

    }
}
